/* PDF Banner */
.mk-pdf-hero {
    width: 100%;
    padding: 5rem 1rem;
    /* background removed -> handled by wrapper */
    position: relative;
    overflow: hidden;
}

.mk-pdf-wrapper {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
    animation: fadeInUp 1s ease;
    padding: 0 15px;
    /* Mobile fix */
    position: relative;
}

/* Flex equal width for both sides */
.mk-pdf-text,
.mk-pdf-image {
    flex: 1;
}

/* Text styles */
.mk-pdf-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
    margin-bottom: 1.4rem;
}

.mk-pdf-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    max-width: 100%;
    /* 👈 FIX */
}

.mk-pdf-text strong {
    color: var(--accent);
}

/* CTA BUTTON */
.mk-btn.mk-pdf-btn {
    display: inline-block;
    margin-top: 30px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    color: #000;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

/* IMAGE */
.mk-pdf-image img {
    width: 100%;
    max-width: 430px;
    filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.35));
    transition: transform 1s ease;
}

/* -------------------------------------------------- */
/* 🔥 RESPONSIVE FIX — IMAGE ALWAYS TOP, CLEAN STACK */
/* -------------------------------------------------- */
@media (max-width: 850px) {

    .mk-pdf-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    /* Image always on top */
    .mk-pdf-image {
        order: 1;
    }

    .mk-pdf-text {
        order: 2;
        padding: 0 10px;
    }

    .mk-pdf-image img {
        max-width: 300px;
        margin: auto;
    }

    .mk-btn.mk-pdf-btn {
        width: 100%;
        max-width: 320px;
        margin: auto;
    }
}

/* LIGHT MODE FIX */
[data-theme="light"] .mk-pdf-text h1 {
    color: #000;
    text-shadow: none;
}

[data-theme="light"] .mk-pdf-text p {
    color: #333;
}